1
general::
Phrase(s): match wits (with someone)
Fig. to enter into intellectual competition with someone. • Whenever I try to match wits with Fred, he always ends up running circles around me with his clever repartee.
McGrawhill's American Idioms And Phrasal Verbs